package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;

import java.util.List;
import java.util.Map;

public interface CheckGroupDao {
    public void add(CheckGroup checkGroup);
    public void setCheckGroupAndChecktime(Map map);

    Page<CheckGroup> findByCondition(String queryString);

    CheckGroup findByid(Integer id);

    List<Integer> findCheckItemIdsByCheckGroupid(Integer id);

    void edit(CheckGroup checkGroup);

    void delectAssoication(Integer id);

    List<CheckGroup> findAll();

}
